package com.dg11185.nearshop.net.entity;

import org.json.JSONObject;

/**
 * 用户活动记录实体
 * @author：Daibo    
 * @time：2014-8-22 下午3:06:20
 */
public class Activity {

    public String activityId = "";
    
    public String activityName = "";
    
    public String activityType = "";
    
    public String description = "";

    public String minPhotoUrl = "";
    
    public String midPhotoUrl = "";
    
    public String maxPhotoUrl = "";
    
    public String url = "";

    public String areaNum = "";
    
    public String endTime = "";
    
    public String remark = "";
    
    public Activity(){
        
    }
    
    public void parseEntity(JSONObject object){
        activityId = object.optString("activityId");
        activityName = object.optString("activityName");
        activityType = object.optString("activityType");
        minPhotoUrl = object.optString("minPhotoUrl");
        midPhotoUrl = object.optString("midPhotoUrl");
        maxPhotoUrl = object.optString("maxPhotoUrl");
        url = object.optString("url");
        areaNum = object.optString("areaNum");
        endTime = object.optString("endTime");
        remark = object.optString("remark");
    }
}
